package com.yunhe.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yunhe.dao.AdminMapper;
import com.yunhe.model.Admin;
import com.yunhe.service.IAdminService;

@Service("adminService")
public class AdminService implements IAdminService {

	@Autowired
	private AdminMapper adminMapper;

	@Override
	public Admin findAdmin(Admin admin) {
		
		return adminMapper.findAdmin(admin);
	}
	
}
